package com.household.constant;

/**
 * Created By wanzhen
 * 2023. 2023/3/8. 20:34
 */
public class SecurityConstant {
    /**
     * 登陆处理的 URL
     */
    public static final String FILTER_PROCESSES_URL = "/dologin";

    /**
     * 验证码标参数标识
     */
    public static final String VERIFTYCODE = "kaptcha";

    /**
     * 用户名参数标识
     */
    public static final String USERNAME = "uname";

    /**
     * 密码参数标识
     */
    public static final String PASSWORD = "passwd";

    /**
     * 登陆的 URL
     */
    public static final String LOGIN_URL="/login.html";

    /**
     * 登陆后跳转的 URL
     */
    public static final String LOGIN_TO_URL = "/index.html";

    /**
     * 登陆失败跳转的 URL
     */
    public static final String UN_AUTHENTICATION_URL = "/loginException";

//    登陆失败的信息保存
    public static final String LAST_EXCEPTION = "SPRING_SECURITY_LAST_EXCEPTION";


}
